package com.we.weauth.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.Builder;
import lombok.Data;

@ApiModel(description="documents")
@Data
@TableName(value = "documents")
@Builder
public class Documents implements Serializable {
    /**
     * 编号id
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="编号id")
    private String id;

    /**
     * 地址
     */
    @TableField(value = "`path`")
    @ApiModelProperty(value="地址")
    private String path;

    /**
     * 文档格式
     */
    @TableField(value = "`type`")
    @ApiModelProperty(value="文档格式")
    private String type;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "updateTime")
    @ApiModelProperty(value="修改时间")
    private Date updateTime;

    /**
     * 父级id
     */
    @TableField(value = "parentId")
    @ApiModelProperty(value="父级id")
    private String parentId;

    private static final long serialVersionUID = 1L;
}